#pragma once
#include <d3dx9.h>

/**
@brief Text en D3D
*/
class XText
{
	///Pointeur sur une font D3D
	LPD3DXFONT _font;
public:
	XText(void);
	~XText(void);

	HRESULT create(LPDIRECT3DDEVICE9 pDevice);
	void draw(RECT *rect, const wchar_t* text, DWORD color);
};
